package pcjavanet.mobilesell.persistence;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pcjavanet.mobilesell.model.Configuration;
import pcjavanet.mobilesell.model.ConfigurationExample;
import pcjavanet.mobilesell.model.PageBean;

public interface ConfigurationMapper {
    int countByExample(ConfigurationExample example);

    int deleteByExample(ConfigurationExample example);

    int deleteByPrimaryKey(Integer dbid);

    int insert(Configuration record);

    int insertSelective(Configuration record);

    List<Configuration> selectByExample(ConfigurationExample example);

    Configuration selectByPrimaryKey(Integer dbid);

    int updateByExampleSelective(@Param("record") Configuration record, @Param("example") ConfigurationExample example);

    int updateByExample(@Param("record") Configuration record, @Param("example") ConfigurationExample example);

    int updateByPrimaryKeySelective(Configuration record);

    int updateByPrimaryKey(Configuration record);

    List<Configuration> getOnePageBeans(@Param("example") ConfigurationExample example, @Param("pageBean") PageBean pageBean);

    int getTotalRecords(@Param("example") ConfigurationExample example, @Param("pageBean") PageBean pageBean);

    List<Configuration> selectByExamplePage(@Param("example") ConfigurationExample example, @Param("pageBean") PageBean pageBean);
}